Use intent classification to identify the most relevant instructions for a user query
https://platform.openai.com/docs/guides/prompt-engineering/tactic-use-intent-classification-to-identify-the-most-relevant-instructions-for-a-user-query
it can be beneficial to first classify the type of query and to use that classification to determine which instructions are needed.
systemの例
You will be provided with customer service queries. Classify each query into a primary category and a secondary category. Provide your output in json format with the keys: primary and secondary.
primaryごとにsecondaryを渡している
secondary部分をより詳細化した例もある
-がprimary、--がsecondary
条件分岐を書いている印象
積ん読